package com.kgc.springboot.hangduo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Clause {
    private Integer id;

    private String clause;

    private String alias;

    private String titel;

    private Integer lawsId;

    private Integer catalogId;

    private String content;

    private Laws laws;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getClause() {
        return clause;
    }

    public void setClause(String clause) {
        this.clause = clause == null ? null : clause.trim();
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias == null ? null : alias.trim();
    }

    public String getTitel() {
        return titel;
    }

    public void setTitel(String titel) {
        this.titel = titel == null ? null : titel.trim();
    }

    public Integer getLawsId() {
        return lawsId;
    }

    public void setLawsId(Integer lawsId) {
        this.lawsId = lawsId;
    }

    public Integer getCatalogId() {
        return catalogId;
    }

    public void setCatalogId(Integer catalogId) {
        this.catalogId = catalogId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Laws getLaws() {
        return laws;
    }

    public void setLaws(Laws laws) {
        this.laws = laws;
    }
}